package com.smart.oil.mapper;

import com.smart.oil.entity.SmRole;
import com.smart.oil.vo.req.RolePageReqVO;

import java.util.List;

public interface SmRoleMapper {
    int deleteByPrimaryKey(String id);

    int insert(SmRole record);

    int insertSelective(SmRole record);

    SmRole selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(SmRole record);

    int updateByPrimaryKey(SmRole record);
    List<SmRole> selectAll(RolePageReqVO vo);

    List<SmRole> getRoleInfoByIds(List<String> ids);
}